package com.ershi.spring.aop.annotation.service;

import org.springframework.stereotype.Component;

@Component
public class AddImpl implements Add{
    public void add(int a ,int b){
        System.out.println(a+b);
    }
    public int del(int a, int b){
        return a-b;
    }
}